﻿$(document).ready(function () {
    var windowWidth, windowHeight;
    if (self.innerWidth != undefined) {

        windowWidth = self.innerWidth;

        windowHeight = self.innerHeight;

    }
    else {

        windowWidth = document.documentElement.clientWidth;

        windowHeight = document.documentElement.clientHeight;
    }
    var popupHeight = $('#frmLogin').height();
    var popupWidth = $('#frmLogin').width();
    var top = (windowHeight - popupHeight) / 2;
    $('#frmLogin').css({
        "margin-top": top + 'px'
    });
    $('input#btnLogin').hover(function () { $(this).css('cursor', 'pointer'); }, function () { $(this).css('cursor', 'default'); });
});